package de.tudarmstadt.ukp.muip.fibqdojo.interfaces;

/**
 * A rule can either applied to sentence as a whole or a specific token of a
 * sentence. If one of these options is not needed the respective method shall
 * return <code>false</code> if called. A rule is suppose to return
 * <code>true</code> if a certain structure is present rather than the absence
 * of it.
 * 
 * @author Tobias Horsmann
 */
public interface IFIBQRule {

    boolean match(IFIBQSentence sentence);

    boolean match(IFIBQSentenceToken sentenceToken);
}
